package cn.school.educational.entity;


import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_subject")
public class Subject {

    @TableId
    private Long id;

    @ApiModelProperty(value = "科目编号")
    private String subjCode;
    @ApiModelProperty(value = "科目名称")
    private String subjName;
    private long createBy;
    private Date createTime;
    private long modifyBy;
    private Date modifyTime;
    /**
     * 默认租户为当前登录人的租户
     */
    private String tenantId = SysUserUtils.getSysUser().getTenantId();


}
